﻿@model MobileWebsiteGenerator.Entities.Page
@{
    ViewBag.Title = "";
    Layout = "~/Views/Shared/_Layout_login.he-IL.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div style="float: right; width:600px;  vertical-align: top; margin: 0px; padding: 0px;">
    <a href="@Url.Action("Create", "Website", @MobileWebsiteGenerator.MvcApplication._MainCustomer)" style="color:Black;display:inline-table;" id="GoToMain" title="Go to Main page">
        <img src="@Url.Content("~/images/Arrow -Left.png")" alt="Alternate Text" style="float:left;display:inline-table;"/></a>
    <h3>
        ליצור</h3>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <fieldset>
            <legend></legend>
            <div id="form1">
                <div class="form_row">
                   
                    <input class="text-box single-line form_input" id="HTitle" name="HTitle" type="text" value="@Html.DisplayFor(Model => Model.HTitle)" />
                     <label>
                        כותרת</label>
                </div>
                <div class="form_row">
                     <label style="margin-left:355px;">
                        תוכן</label>
                    @Html.EditorFor(model => model.HContent, new { @class = "text-box single-line form_input" })
                   
                </div>



                   <div class="form_row">
              <label>
                  Page order</label>  

                       <div style="margin-left:173px;">
                           @Html.DropDownListFor(model => model.Priority, new SelectList(new[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }), "Select" , new { @class = "test" })
                  </div>
                   </div>


                <div style="margin-left: -100px;" class="form_row">
                    <a  href="@Url.Action("Create", "Website", @MobileWebsiteGenerator.MvcApplication._MainCustomer)"   style="float:left;"  id="GoToMain" title="Go to Main page">
                        <img src="../../images/Arrow Left.png"></a>
                    <input style="width:80px; height:30px;" type="submit" class="form_submits" value="שלח" id="create" />
                </div>
            </div>
        </fieldset>
    
    }
</div>
<div>

@section MobilePreview
{
    @Html.Partial("_PreviewOnMobile.he-IL", MobileWebsiteGenerator.MvcApplication._MainCustomer);
}
</div>
<style type="text/css">
    #create:hover
    {
        background-color: #11639d;
        color: White;
    }
    
    #form1 .form_row label
    {
        background-color: #11639d;
        color: White;
    }
</style>

<style type="text/css">

input.form_submits
{
   
width: auto;
height: auto;
color: #4F4F4D;
font-size: 18px;

cursor: pointer;
float: right;
margin: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
text-align:right;

background: url('../images/arrow left.png') no-repeat 20px 20px;
border: 1px solid #DEDEDE;
background: url('../images/arrow left.png') no-repeat 20px 20px;
background-position: left center;
}
    

</style>


<style type="text/css">
.test
{
    width: 353px;
height: 30px;
background-color: #EEE;
color: #4F4F4D;
border: 1px solid #CCC;
float: left;
padding: 0px 0 0 5px;
    }

</style>